import request from '@/utils/request'
import Qs from 'qs'

export function listequipment(query) {//列表
  return request({
    method: 'get',
    params: {
      _gp: 'admin.inspection',
      _mt: 'recordList',
      ...query
    }
  })
}
export function computerRoomXiaLa() { // 机房下拉
    return request({
      method: 'get',
      params: {
        _gp: 'admin.room',
        _mt: 'xiaList'
      }
    })
  }
  export function equipmentXiaLa(query) { // 设备类型下拉
    return request({
      method: 'get',
      params: {
        _gp: 'admin.equipment',
        _mt: 'xiaList',
        ...query
      }
    })
  }